/**
 * 
 */
package evance.server.common.suports;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import evance.server.common.constants.UnitName;
import evance.server.spring.core.provider.EntityManagerProvider;

/**
 * @author BaoVuong
 *
 */
public class EntityManagerProviderImpl implements EntityManagerProvider {

	@PersistenceContext(unitName = UnitName.EVANCE)
	private EntityManager entityManager;

	@Override
	public EntityManager getEntityManager() {
		return entityManager;
	}

}
